package com.xujieyang.study.thrift;

import org.apache.thrift.TException;
import org.springframework.stereotype.Service;

@Service("helloWorld")
public class HelloWorldImpl implements HelloWorldService.Iface {

	@Override
	public String sayHello1(String username1) throws TException {
		System.out.println(username1);
		return username1;
	}

	@Override
	public String sayHello2(String username2) throws TException {
		System.out.println(username2);
		return username2;
	}

	@Override
	public String sayHello3(String username3) throws TException {
		System.out.println(username3);
		return username3;
	}


}